﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace block_explorer
{
    abstract class BaseSceneLight
    {
        public Color Color;
        public bool Shadows;

        public BaseSceneLight()
        {
            Color = Color.White;
            Shadows = false;
        }

        public BaseSceneLight(Color color)
        {
            Color = color;
            Shadows = false;
        }

        public abstract void PrepareShadowMap(GraphicsDevice device);
        public abstract void DrawShadowMap(GraphicsDevice device, Shaders.ShadowMapEffect occlusionEffect, Scene scene, SceneCamera camera);
        public virtual Texture ShadowMap { get { return null; } }
    }
}
